﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TransCode.Player.ImagePage;
using TransCode.Player.VideoPage;
using TransCode.Player.Controls;
using TransCode.Player.TargetPage;

namespace TransCode.Player
{
    public class Common
    {
        public static MainWindow MainWindow { get; set; }

        public static ImageMainPage ImageMainPage { get; set; }

        public static VideoMainPage VideoMainPage { get; set; }

        public static TargetObjectMainPage TargetObjectMainPage { get; set; }

        public static MenuButton MenuButton { get; set; }

        public static void Change(FuncEnum func)
        {
            MainWindow.Change(func);
            MenuButton.Change(func);
        }
    }
}
